<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>JavaScript - 放大镜</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    <!-- 放大镜容器 -->
    <div class="container">
        <!-- 小图 -->
        <div class="small-box">
            <img src="./images/goods.jpg" alt="loadding err" class="small-img">
            <div class="mirror"></div>
        </div>
        <!-- 大图 -->
        <div class="big-box">
            <img src="./images/goods.jpg" alt="oadding err" class="big-img">
        </div>
    </div>

    <script src="./js/fn.js"></script>
    <script src="./js/index.js"></script>
</body>
</html>
